package cn.lanqiao.springbootproject.mapper;

import cn.lanqiao.springbootproject.entity.Emp;
import cn.lanqiao.springbootproject.vo.QueryEmpVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpMapper {
    @Select("select * from db01.emp")
    public List<Emp> queryList();
    public List<Emp> queryByEmp(QueryEmpVO queryEmpVO);
}
